package ar.uba.fi.taller2.ftrs.query;

import java.util.ArrayList;

public class Tidlist {
    String i;
    
	public Tidlist(String ident){
		this.i = ident;
	}
	
	public Tidlist(Tidlist l,String ident){
		this.i = l.toString()+" "+ident;
	}
	
	public String toString() {
		return this.i;
	}
	
	public ArrayList interpret(){
		// IMPLEMENTAR CONSULTAS POR FRASES!
		// SIMPLE WORKARROUND 
		return Tindex.getDocumentList(this.i);
	}
}
